package com.xc.freeapp.entity;

import java.util.Date;

import com.wordnik.swagger.annotations.ApiModelProperty;

public class AppVersion {
    private Integer id;
    @ApiModelProperty(value="版本号")
    private String versioncode;
    @ApiModelProperty(value="是否强制更新:1:强制更新  0：不强制更新")
    private Integer isautoupdate;
    @ApiModelProperty(value="更新提示标题")
    private String changelogtitle;
    @ApiModelProperty(value="更新提示内容")
    private String changelogcontent;
    @ApiModelProperty(value="appId")
    private Integer businessid;
    @ApiModelProperty(value="1:有新版本   0：没新版本,表示此版本为最新版本")
    private String isupdate;
    @ApiModelProperty(value="app下载路径")
    private String appurl;

    private Date createtime;

    private Date updatetime;
    @ApiModelProperty(value="1:有效 0：删除")
    private String status;
    @ApiModelProperty(value="版本序号")
    private Integer versionno;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVersioncode() {
        return versioncode;
    }

    public void setVersioncode(String versioncode) {
        this.versioncode = versioncode == null ? null : versioncode.trim();
    }

    public Integer getIsautoupdate() {
        return isautoupdate;
    }

    public void setIsautoupdate(Integer isautoupdate) {
        this.isautoupdate = isautoupdate;
    }

    public String getChangelogtitle() {
        return changelogtitle;
    }

    public void setChangelogtitle(String changelogtitle) {
        this.changelogtitle = changelogtitle == null ? null : changelogtitle.trim();
    }

    public String getChangelogcontent() {
        return changelogcontent;
    }

    public void setChangelogcontent(String changelogcontent) {
        this.changelogcontent = changelogcontent == null ? null : changelogcontent.trim();
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getIsupdate() {
        return isupdate;
    }

    public void setIsupdate(String isupdate) {
        this.isupdate = isupdate == null ? null : isupdate.trim();
    }

    public String getAppurl() {
        return appurl;
    }

    public void setAppurl(String appurl) {
        this.appurl = appurl == null ? null : appurl.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getVersionno() {
        return versionno;
    }

    public void setVersionno(Integer versionno) {
        this.versionno = versionno;
    }
}